package com.hancai.mapper;

import com.hancai.commons.DataScope;
import com.hancai.model.TRecordRemark;
import com.hancai.query.RecordRemarkQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author super
 */
@Repository
public interface TRecordRemarkMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TRecordRemark record);

    int insertSelective(TRecordRemark record);

    TRecordRemark selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TRecordRemark record);

    int updateByPrimaryKey(TRecordRemark record);
    @DataScope(tableAlias = "trr", tableField = "create_by")
    List<TRecordRemark> selectRecordRemarkByPage(RecordRemarkQuery recordRemarkQuery);
}
